package com.isoft.demo.service;

import com.isoft.demo.common.ResponseData;
import com.isoft.demo.entity.Maintenance;
import org.springframework.stereotype.Service;

@Service
public interface MaintenanceService {
    //添加
    ResponseData addMain(Maintenance maintenance);
    //修改
    ResponseData updateMain(Maintenance maintenance);
    //查询所有
    ResponseData findAllMain();
    //根据Id查询
    ResponseData findByMid(Integer mid);

}
